﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace RBACDuYaJun.Api.Appliction.Command.UserCommand
{
    public class UserUpdateCommand:IRequest<int>
    {
        /// <summary>
        /// 用户信息ID
        /// </summary>
    
        public int userInfoId { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string? userInfoName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? password { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? userName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool userSex { get; set; }
        /// <summary>
        /// 省份ID
        /// </summary>
        public int provinceId { get; set; }
        /// <summary>
        /// 市ID
        /// </summary>
        public int cityId { get; set; }
        /// <summary>
        /// 县ID
        /// </summary>
        public int countryId { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string? userAddress { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int departmentId { get; set; }
    }
}
